package com.edu.d4_constance;

/**
 * 目标：常量的使用
 * 用public static final修饰的
 */
public class ConstanceDemo {
    public static final String name="狠心的人";

    public static void main(String[] args) {
        //改一个而动全局
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
    }
}
